package com.combo.data;

import android.app.DevInfoManager;
import android.content.Context;

import com.chinamobile.SWDevInfoManager;
import com.softmbh.kellyplatform.util.AppUtils;

public class ComboDataManager {

    private static ComboDataManager shareInfoManager;

    private static Context mContext;

    public ComboDataManager(Context context) {
        mContext = context;
    }

    public static void init(Context context) {
        mContext= context.getApplicationContext();
        AppUtils.debugLog("Init: caller=" + mContext.getPackageName());
    }

    public static ComboDataManager getInstance() {
        if (shareInfoManager == null) {
            synchronized (ComboDataManager.class) {
                if (shareInfoManager == null) {
                    shareInfoManager = new ComboDataManager(mContext);
                }
            }
        }
        return shareInfoManager;
    }

    public void getValue(){
//        SWDevInfoManager.getInstance(mContext).getValue();
//        SWDevInfoManager.getDevInfoManager(mContext).getValue();
    }
}
